Skip to main content
This forum is closed to new posts and responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  


RE: working as expected, no bug at all ...
~Umberto Nongeroson 9.Oct.03 01:49 PM a Web browser
General 6.0.3; 6.0.2 CF2; 6.0.2 CF1; 6.0.2; 6.0.1 CF3; 6.0.1 CF2; 6.0.1 CF1; 6.0.1; 6.0 All Platforms


Nathan,

I was able to reproduce this behaviour exactly as described ...
In my case the server has transaction logging enabled.

The problem is only linked to the save-method in the agent, not with the ComputeWithForm or any other action. I did the test as folowing :
  1. New db from scratch, 1 form with 2 text fields "A" and "B"
  2. Create 3 documents with this form
  3. Create agent with folowing code :

Dim s As New Notessession
Dim db As Notesdatabase
Dim dc As Notesdocumentcollection
Dim doc As Notesdocument

Set db = s.CurrentDatabase
Set dc = db.AllDocuments
Set doc = dc.GetFirstdocument
Do While Not(doc Is Nothing)
Stop
doc.Save True, True
Set doc = dc.GetNextdocument(doc)
Loop

When I start the agent, and the agent halts in the debugger at the Stop statement, I change one document and save it. Then I let the agent continue. The changes I did make to the document are lost.

If I use folowing code:

Dim s As New Notessession
Dim db As Notesdatabase
Dim dc As Notesdocumentcollection
Dim doc As Notesdocument

Set db = s.CurrentDatabase
Set dc = db.AllDocuments
Set doc = dc.GetFirstdocument
Do While Not(doc Is Nothing)
Stop
call savesub(db, doc.NoteID)
Set doc = dc.GetNextdocument(doc)
Loop

Public Sub savesub(db as NotesDatabase, NoteID as String)
Dim d as NotesDocument
Set d=db.GetDocumentByID(NoteID)
Call d.Save True, True
End Sub

Then the changes are not lost. If I place the code from within the subroutine directly in the Do While loop, it doesn't work!




Massive Notes Bug - BackEnd Doc and... (~Lex Fezponebur... 7.Oct.03)
. . working as expected, no bug at all ... (~Dan Brefreepul... 7.Oct.03)
. . . . RE: working as expected, no bug at ... (~Lex Fezponebur... 8.Oct.03)
. . . . . . RE: working as expected, no bug at ... (~Dan Brefreepul... 8.Oct.03)
. . . . . . . . RE: working as expected, no bug at ... (~Lex Fezponebur... 9.Oct.03)
. . . . . . . . . . RE: working as expected, no bug at ... (~Dan Brefreepul... 9.Oct.03)
. . . . . . . . . . . . RE: working as expected, no bug at ... (~Lex Fezponebur... 10.Oct.03)
. . . . . . . . . . . . . . RE: working as expected, no bug at ... (~Dan Brefreepul... 10.Oct.03)
. . . . . . . . . . RE: working as expected, no bug at ... (~Naomi Deskrote... 9.Oct.03)
. . . . . . . . . . . . That's it - TRANSACTIONAL LOGGING C... (~Dan Brefreepul... 9.Oct.03)
. . . . . . . . . . . . . . RE: That's it - TRANSACTIONAL LOGGI... (~Naomi Deskrote... 9.Oct.03)
. . . . . . . . . . . . . . . . I read all the thread. I feel it's ... (~Bill Frokimari... 9.Oct.03)
. . . . . . . . . . . . . . . . . . Don't get it (WAS: I read all the t... (~Delores Dwonic... 9.Oct.03)
. . . . . . . . . . . . . . . . . . Beg to differ... re: I read all the... (~Naomi Deskrote... 9.Oct.03)
. . . . . . . . . . . . . . . . . . It's not about conflicts ... there ... (~Dan Brefreepul... 10.Oct.03)
. . . . . . . . . . . . RE: working as expected, no bug at ... (~Dan Brefreepul... 9.Oct.03)
. . No bug here (~Hank Quetamarn... 7.Oct.03)
. . . . RE: No bug here (~Lex Fezponebur... 8.Oct.03)
. . . . . . No bug here - Please give us the ag... (~Kelly Nimfooge... 8.Oct.03)
. . Code around it. (~Dan Elhipister... 7.Oct.03)
. . . . RE: Code around it. (~Lex Fezponebur... 8.Oct.03)
. . . . . . RE: Code around it. (~Yentl Quetkrot... 8.Oct.03)
. . . . . . . . RE: Code around it. (~Holly Minjipyb... 8.Oct.03)
. . . . . . . . . . RE: Code around it. (~Naomi Deskrote... 8.Oct.03)
. . . . RE: Code around it. (~Sarah Bubjumib... 8.Oct.03)
. . . . . . I left out a bunch of pieces... (~Dan Elhipister... 8.Oct.03)
. . . . . . . . RE: I left out a bunch of pieces...... (~Bill Frokimari... 9.Oct.03)
. . . . . . . . . . Isn't that what I was doing w/ the ... (~Dan Elhipister... 9.Oct.03)
. . . . . . . . . . . . RE: Isn't that what I was doing w/ ... (~Bill Frokimari... 9.Oct.03)
. . . . It has nothing to do with save conf... (~Dan Brefreepul... 10.Oct.03)
. . RE: Massive Notes Bug - BackEnd Doc... (~Karl Zekkroplo... 10.Oct.03)
. . . . RE: Massive Notes Bug - BackEnd Doc... (~Lex Fezponebur... 10.Oct.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS